import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/blade-system/order/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const addage = (params) => {
    return request({
      url: '/api/blade-system/classfl/Insertvage',
      method: 'post',
      data:params
    })
}

export const getOrderDetail = (current, size, params) =>{
    return request({
      url: "/api/blade-system/order/getOrderDetail",
      method:"get",
      params:{
        ...params,
      current,
      size,
      }
    })

}

export const getlistdata = (current, size, params) =>{
  return request({
    url: "/api/blade-system/order/getlistdata",
    method:"get",
    params:{
      ...params,
    current,
    size,
    }
  })

}